<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html lang="true">
<head>
<title>登陆页面</title>
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/zero/zero1011-106.css"><meta name="Microsoft Theme" content="zero 1011, default">
<meta name="Microsoft Border" content="tlb, default">
</head>


<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td align="left" valign="top"><span style="letter-spacing: 1px">
		<font face="微软雅黑">		</font></span>
		  <font face="微软雅黑"><img src="_derived/index.htm_cmp_zero010_bnr.gif" width="580" height="60" border="0" alt="房屋租赁网"></font></td>
		<td align="left" valign="top"><small>
		</small></td>
	</tr>
</table>
  <tr>
    <td><br></td>
  </tr>
  </table>
  		<% if (session.getAttribute("user_id") != null  && !session.getAttribute("user_id").equals("-1")) {
            response.sendRedirect("login.do");
        } %>
        <html:form action="/login" method="post">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr align="center">
            <td valign="top"><br></td><td colspan="2">
                ${userForm.errorMsg}
            </td>
        </tr>
        <tr>
            <td valign="top"><br></td><td align="right">用户名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br></td>
            <td align="left"><html:text property="user_name" name="userForm"/><br></td>
        </tr>
        <tr>
            <td valign="top"><br></td><td align="right">密码：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br></td>
            <td align="left"><html:password property="password" name="userForm"/><br></td>
        </tr>
        <tr>
            <td valign="top"><br></td><td align="right"><html:submit value="登录"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br></td>
            <td align="lef"><html:button value="注册" property="action" onclick="location.href = 'Reg.jsp' "/><br></td>
        </tr>
        </table>
        </html:form>
        <td><small><br>有关此网站的问题应定向到 [liyisoftware@gmail.com]。<br>
版权所有(C) 2011 [liyisoftware]。保留所有权利。<br> 
上次修改时间: 2011 年 05 月 12 日。</small></td>
  </tr>
    </body>
</html:html>
